﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NHibernate.Mapping.ByCode.Conformist;
using SGC.BE;

namespace SGC.DL.Area.Mapeo
{
    public class DL_AreaMapeo : ClassMapping<BE_Area>
    {
        public DL_AreaMapeo()
        {

            Table("TB_AREA");
            Id(area => area.CODIGO_AREA, mapper => mapper.Column("IDAREA"));
            Property(area => area.NOMBRE, mapper => mapper.Column("NOMBRE"));
            
        }  
    }
}
